package io.renren.modules.app.service.impl;

import io.renren.modules.app.service.UserCollectionService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import com.zheok.testing.dao.UserCollectionDao;
import com.zheok.testing.entity.UserCollectionEntity;



@Service("userCollectionService")
public class UserCollectionServiceImpl extends ServiceImpl<UserCollectionDao, UserCollectionEntity> implements UserCollectionService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserCollectionEntity> page = this.page(
                new Query<UserCollectionEntity>().getPage(params),
                new QueryWrapper<UserCollectionEntity>()
        );

        return new PageUtils(page);
    }

}